<!DOCTYPE html
   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no,mail=yes">
   <title>Index</title>

   <script src="./js/jquery-1.8.3.min.js"></script>
   <script src="./js/swiper.min.js"></script>
   <link rel="stylesheet" href="./layui/css/layui.css">
   <link rel="stylesheet" href="./css/iconfont.css">
   <link rel="stylesheet" href="./css/animate.css">
   <link rel="stylesheet" href="./css/swiper.min.css">
   <link rel="stylesheet" href="./css/common.css">
   <link rel="stylesheet" href="./css/index.css">
   <script src="./js/wow.min.js"></script>
   <script type="text/javascript" src="./js/clipboard.min.js"></script>
   <script type="text/javascript" src="./layui/layui.js"></script>
</head>

<body>
   <header class="headerpage " data-load="header"></header>
   <main class="user_page  ">
      <section class="">
         <div class="layui-main">
            <div class="user_con">
               <div class="user_headpage" data-load="user_active_header"></div>
               <div class="right_main ">

                  <p class="ft24 mb10 ft-bold">票券分組</p>
                  <p class="ft14 gary_c9 mb20 ft-bold">票券分組可以將票券分類歸納，依據時間或地點等分組管理，讓消費者在購票頁面中更容易選購</p>
                  <div class="block_com" style="min-height: 80vh;">
                     <div class="active_w1 active3 " style="margin:  0 auto;">
                        <from class="layui-form">
                           <div class="d-flex jc-fe mb20">
                              <div class="orange_c mr10" data-btn="add"><i
                                    class="layui-icon mr5 layui-icon-add-circle-fine"></i>新增
                              </div>
                              <div data-btn="delete" class="orange_c"><i
                                    class="layui-icon mr5 layui-icon-delete"></i>删除分组</div>
                           </div>
                           <table class="layui-table a9_table" lay-skin="line">
                              <colgroup>
                                 <col>
                                 <col width="150">
                                 <col width="150">
                                 <col width="150">
                                 <col width="150">
                              </colgroup>
                              <thead>
                                 <tr>
                                    <th><input type="checkbox" name="arr[0]">票券分組名稱</th>
                                    <th>票券名稱</th>
                                    <th>票券數量</th>
                                    <th>票價</th>
                                    <th>操作</th>
                                 </tr>
                              </thead>
                              <tbody>
                                 <tr>
                                    <td class="d-flex al-c"><input type="checkbox" name="arr[0]"><input
                                          class="layui-input"></td>
                                    <td>10</td>
                                    <td>10</td>
                                    <td>免费</td>
                                    <td>
                                       <div class="d-flex ">
                                          <div class="orange_c mr10"><i class="layui-icon mr5 layui-icon-list"></i>查看详情
                                          </div>

                                       </div>
                                    </td>
                                 </tr>
                              </tbody>
                           </table>
                           <div class="a10_b1">
                              <div class="item">
                                 <p class="t1">票券说明</p>
                                 <p class="t2">无</p>
                              </div>
                              <div class="item">
                                 <p class="t1">是否為審核票？</p>
                                 <p class="t2">无</p>
                              </div>
                              <div class="item">
                                 <p class="t1">是否開賣？</p>
                                 <p class="t2">无</p>
                              </div>
                              <div class="item">
                                 <p class="t1">售票时间</p>
                                 <p class="t2">无</p>
                              </div>
                              <div class="item">
                                 <p class="t1">有效時間(可驗票時間)</p>
                                 <p class="t2">无</p>
                              </div>
                           </div>

                           <div class="mt40 d-flex jc-s al-c">


                              <button class="layui-btn layui-btn-lg w100 layui-bg-orange next-btn">储存</button>

                           </div>
                        </from>


                     </div>
                  </div>
               </div>
            </div>
      </section>
   </main>

</body>
<script src="./js/index.js"></script>
<script>
   layui.use(function () {
      var upload = layui.upload;
      var layer = layui.layer;
      var element = layui.element;
      var $ = layui.$;
      var laydate = layui.laydate;
      laydate.render({
         elem: '#datetime-1',
         type: 'datetime',
         fullPanel: true // 2.8+
      });
   })
   // var addhtml = $('.addhtml')[0].outerHTML;
   $(document).on('click', '[data-btn="add"]', function () {
      layer.prompt({ title: '票券分組名稱', formType: 1 }, function (pass, index) {
         layer.close(index);

      });
   })
   $(document).on('click', '[data-a9-btn]', function () {
      $('[data-a9-btn]').remove()
      $('.show-block').removeClass('layui-hide')

   }).on('click', '[data-btn="delete"]', function () {
      layer.confirm('确定删除嘛', {
         btn: ['确定', '取消'] //按钮
      }, function () {
      }, function () {

      });
   })
</script>

</html>